#include "son.h"
#include "ui_son.h"

son::son(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::son)
{
    ui->setupUi(this);
    this->setWindowFlags(Qt::Dialog|Qt::FramelessWindowHint);
    connect(ui->pushButton_2,SIGNAL(clicked()),this,SLOT(sSlot()));
}

son::~son()
{
    delete ui;
}

void son::sSlot()
{
    emit sSignal();
}

void son::on_pushButton_clicked()      //点击确定判断答案
{
    if(ui->lineEdit->text()=="0d000721")
    {
        emit ansSignal();
        this->close();
    }
}

